<template>
  <n-menu mode="horizontal" :options="menuOptions"/>
</template>

<script setup>
import { NIcon } from 'naive-ui'
import { defineComponent, h } from 'vue'
import { RouterLink } from 'vue-router'
const menuOptions = [
	{
		label: () => h(RouterLink, { to: '/' }, { default: () => '首页' }),
		key: 'home'
	},
	{
		label: () => h(RouterLink, { to: '/grade' }, { default: () => '班级管理' }),
		key: 'grade'
	},
	{
		label: () => h(RouterLink, { to: '/emp' }, { default: () => '员工管理' }),
		key: 'emp'
	}
]
</script>

<style scoped lang="scss">
</style>